package com.project.myxima.adapters;

import androidx.annotation.NonNull;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;
import androidx.fragment.app.FragmentPagerAdapter;

import com.project.myxima.utils.FragmentCreator;
import com.project.myxima.utils.LoginFragmentCreator;

public class LoginViewPagerAdapter extends FragmentPagerAdapter {

    public LoginViewPagerAdapter(FragmentManager fm) {
        super(fm);
    }

    @NonNull
    @Override
    public Fragment getItem(int position) {
        return LoginFragmentCreator.getFragment(position);
    }

    @Override
    public int getCount() {
        return LoginFragmentCreator.PAGE_COUNT;
    }
}
